﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Products.ascx.cs" Inherits="Products" %>

            <asp:Panel ID="Panel1" runat="server" Direction="LeftToRight" HorizontalAlign="Left" BackColor="Silver" Width="550">
                <br />
                <span lang="en-us">&nbsp;&nbsp;&nbsp;Product Type:&nbsp;
                <br />&nbsp;&nbsp; </span><asp:DropDownList ID="ddlProductTypes" 
            runat="server" Width="141px" 
            AutoPostBack="True" Height="25px" 
                    onselectedindexchanged="ddlProductTypes_SelectedIndexChanged">
                </asp:DropDownList>
                <br />
                &nbsp;&nbsp;&nbsp;<asp:ListBox ID="lbProducts" runat="server" Height="80px" Width="550"></asp:ListBox>
                <span lang="en-us">
                &nbsp;&nbsp;
                <table>
                    <tr>
                        <td>
                            &nbsp;&nbsp;
                            <asp:Label ID="Label2" runat="server" Text="Qty "></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlProductQty" runat="server">
                                <asp:ListItem Selected="True" Value="1">1</asp:ListItem>
                                <asp:ListItem Value="2">2</asp:ListItem>
                                <asp:ListItem Value="3">3</asp:ListItem>
                                <asp:ListItem Value="4">4</asp:ListItem>
                                <asp:ListItem Value="5">5</asp:ListItem>
                                <asp:ListItem Value="6">6</asp:ListItem>
                                <asp:ListItem Value="7">7</asp:ListItem>
                                <asp:ListItem Value="8">8</asp:ListItem>
                                <asp:ListItem Value="9">9</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;&nbsp;&nbsp;<asp:Button ID="btnAdd" runat="server" onclick="btnAdd_Click" Text="Add" Width="105px" />
                        </td>
                    </tr>
                </table>
                
                &nbsp;<asp:Label ID="lblError1" runat="server" ForeColor="Red" 
                    style="margin-left: 15px" Width="221px"></asp:Label>
                <br />&nbsp;&nbsp;&nbsp; </span>
                <asp:Label ID="Label1" runat="server" Text="Products Ordered"></asp:Label>
                <br />
                &nbsp;&nbsp;<asp:ListBox ID="lbOrderProducts" runat="server" Height="79px" Width="550"></asp:ListBox>
                <br />
                &nbsp;&nbsp;
                <asp:Button ID="btnRemove" runat="server" 
                    Text="Remove Product" Width="109px" onclick="btnRemove_Click" />
                <br />
                &nbsp;&nbsp;
                <asp:Button ID="btnClear" runat="server" Text="Clear Order" Width="109px" onClick="btnClear_Click" />
                <span lang="en-us">&nbsp;
                <asp:Label ID="lblError2" runat="server" ForeColor="Red" Width="226px" 
                    Height="25px" style="margin-left: 15px"></asp:Label>
                </span>
                
                </asp:Panel>
